package com.ruoyi.manage.organization.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class BizOrganizationMember {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 手机号码
     */
    private String phonenumber;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别
     */
    private String sex;

    /**
     * 审核状态
     */
    private String audit;

    /**
     * 机构名称
     */
    private String relatedId;

    /**
     * 机构名称
     */
    private String relatedRemark;

    /**
     * 启用状态 (0-禁用, 1-启用)
     */
    private Integer enabled;
    /**
     * 启用状态 (0-禁用, 1-启用)
     */
    private Integer workStatus;
    private Integer avatar;
    private String badgeUrl;
    private Long roleId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 审核时间
     */
    @JsonFormat(pattern="YYYY-MM-DD")
    private Date auditTime;


    @TableField(exist = false)
    private String[] createTimeRange;

    @TableField(exist = false)
    private String[] auditTimeRange;

}
